package com.summer.core.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import org.compass.annotations.SearchableProperty;
import org.compass.annotations.Store;



/**
 * 实体Ibean各种接口完成表组装
 * @author Administrator
 *
 */

@MappedSuperclass
public class EntityBean extends BaseBean  {
	
	private Date createDate;// 创建日期
	private Date modifyDate;// 修改日期
	private String own_dpt;//所属人员
	private String own_usr;//所属部门
	private boolean rubbish;//是否删除
	
	@SearchableProperty(store = Store.YES)
	@Column(updatable = false)
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@SearchableProperty(store = Store.YES)
	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getOwn_dpt() {
		return own_dpt;
	}

	public void setOwn_dpt(String ownDpt) {
		own_dpt = ownDpt;
	}

	public String getOwn_usr() {
		return own_usr;
	}

	public void setOwn_usr(String ownUsr) {
		own_usr = ownUsr;
	}

	public boolean isRubbish() {
		return rubbish;
	}

	public void setRubbish(boolean rubbish) {
		this.rubbish = rubbish;
	}
    
}
